package models;

import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;

import javax.persistence.Id;
import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Unindexed;

@SuppressWarnings("serial")
@Cached
public class EmailStatisticModel implements Serializable {
	@Id
	private String doc = "";

	private Date dateOfCreate = Calendar.getInstance().getTime();

	@Unindexed
	private int emailCount = 0;

	@Unindexed
	private int deliveryEmailCount = 0;

	@Unindexed
	private int clickCount = 0;

	public String getDoc() {
		return doc;
	}

	public void setDoc(String doc) {
		this.doc = doc;
	}

	public Date getDateOfCreate() {
		return dateOfCreate;
	}

	public void setDateOfCreate(Date dateOfCreate) {
		this.dateOfCreate = dateOfCreate;
	}

	public int getEmailCount() {
		return emailCount;
	}

	public void setEmailCount(int emailCount) {
		this.emailCount = emailCount;
	}

	public int getDeliveryEmailCount() {
		return deliveryEmailCount;
	}

	public void setDeliveryEmailCount(int deliveryEmailCount) {
		this.deliveryEmailCount = deliveryEmailCount;
	}

	public int getClickCount() {
		return clickCount;
	}

	public void setClickCount(int clickCount) {
		this.clickCount = clickCount;
	}

}
